﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZackFlame.SimpleBrainFuck.Controls
{
    public sealed class ReadEventArgs : EventArgs
    {
        public string ReadedText { get; private set; }

        public ReadEventArgs(string text)
        {
            if (text == null)
                throw new ArgumentNullException("text");

            ReadedText = text;
        }

        public override string ToString()
        {
            return string.Format("ReadEventArgs (\"{0}\")", ReadedText);
        }
    }
}
